[paket]
tanim   = Dosya yönetimi için kitaplık
paketci = Cihan_Alkan
url     = https://lxde.org

[gerek]
derleme    = libfm-extra menu-cache
calisma    = libfm-extra menu-cache libexif

[kaynak]
1          = https://downloads.sourceforge.net/pcmanfm/$isim-$surum.tar.xz

[sha256]
    #          = 1ccfee598aef723e8815c7a2b782624c0d5f6c4d15194dbeb74f5e45b8aff898

[derle]
betik     = sed -i 's/create=xarchiver --add-to %F/create=xarchiver --compress %F/' data/archivers.list
betik	= cd $SRC/libfm-$surum
betik	= ./configure --prefix=/usr --sysconfdir=/etc --with-gtk=3 --disable-gtk-doc-html
betik  = sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
betik  = make


[pakur]
betik	= cd $SRC/libfm-$surum
betik      = make DESTDIR=$PKG install
betik      = make DESTDIR="$SRC"/libfm-gtk3 install
betik      = rm -r $PKG/usr/include/libfm
betik      = mv $PKG/usr/include/libfm-1.0/ $PKG/usr/include/libfm
	# In libfm-extra
betik      = rm -r $PKG/usr/include/libfm/fm-{extra,version,xml-file}.h $PKG/usr/lib/libfm-extra.* $PKG/usr/lib/pkgconfig/libfm-extra.pc


